<template>
   <div class="aboutus">
        <div class="aboutusArticle">
            {{title}}</div>
        <div class="aboutusVideo">
            <video src="" controls></video>
           
        </div>
   </div>
</template>
<script>
import axios from 'axios'
export default {
    name:'Aboutus',
    data(){
        return{
           title:{}
        }
    },
    methods:{
        getAboutus(){
            axios({
                method:'get',
                url:'/infor'
            }).then((res)=>{
                console.log(res.data.aboutus.title);
                this.title=res.data.aboutus.title;
            }).catch((err)=>{
                console.log('about异常',err)
            })
        }
    },
    created:function(){
        this.getAboutus();
    }
}
</script>
<style lang="scss" scoped>
.aboutus{
    margin: 0 30px;
}
.aboutusArticle{
    // 
    color: #000000;
    text-align: left;
    text-indent: 2em;
}
.aboutusVideo{
    display: flex;
    // width: 800px;
    height: 400px;
    // background-color: aqua;
}
.aboutusVideo video{
    flex: 1;
   margin: 20px;
}
</style>